!include "MUI2.nsh"

Name "Data Screen"
Outfile "DataScreen_Installer.exe"
InstallDir "$PROGRAMFILES\DataScreen"

!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_LANGUAGE "English"

Section "Main"
  SetOutPath $INSTDIR
  File /r "build\DataScreen.exe"   # 打包好的exe
  File "example.db"   # 数据库文件
  CreateShortCut "$DESKTOP\MyApp.lnk" "$INSTDIR\DataScreen.exe"
SectionEnd